<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: pcl::io::LZFImageReader类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classpcl_1_1io_1_1_l_z_f_image_reader.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="#pro-attribs">Protected 属性</a> &#124;
<a href="classpcl_1_1io_1_1_l_z_f_image_reader-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">pcl::io::LZFImageReader类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>PCL-LZF image format reader. The PCL-LZF image format is nothing else but a LZF-modified compression over an existing file type (e.g., PNG). However, in certain situations, like <a class="el" href="structpcl_1_1_r_g_b.html" title="A structure representing RGB color information.">RGB</a> data for example, an [RGBRGB...<a class="el" href="structpcl_1_1_r_g_b.html" title="A structure representing RGB color information.">RGB</a>] array will be first reordered into [RR...RGG...GBB...B] in order to ensure better compression.  
 <a href="classpcl_1_1io_1_1_l_z_f_image_reader.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="lzf__image__io_8h_source.html">lzf_image_io.h</a>&gt;</code></p>
<div class="dynheader">
类 pcl::io::LZFImageReader 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classpcl_1_1io_1_1_l_z_f_image_reader.png" usemap="#pcl::io::LZFImageReader_map" alt=""/>
  <map id="pcl::io::LZFImageReader_map" name="pcl::io::LZFImageReader_map">
<area href="classpcl_1_1io_1_1_l_z_f_depth16_image_reader.html" title="PCL-LZF 16-bit depth image format reader." alt="pcl::io::LZFDepth16ImageReader" shape="rect" coords="0,56,196,80"/>
<area href="classpcl_1_1io_1_1_l_z_f_r_g_b24_image_reader.html" title="PCL-LZF 24-bit RGB image format reader." alt="pcl::io::LZFRGB24ImageReader" shape="rect" coords="206,56,402,80"/>
<area href="classpcl_1_1io_1_1_l_z_f_bayer8_image_reader.html" title="PCL-LZF 8-bit Bayer image format reader." alt="pcl::io::LZFBayer8ImageReader" shape="rect" coords="103,112,299,136"/>
<area href="classpcl_1_1io_1_1_l_z_f_y_u_v422_image_reader.html" title="PCL-LZF 8-bit Bayer image format reader." alt="pcl::io::LZFYUV422ImageReader" shape="rect" coords="309,112,505,136"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a93527a7ba63157131e11b2247d421ac1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1io_1_1_l_z_f_image_reader.html#a93527a7ba63157131e11b2247d421ac1">LZFImageReader</a> ()</td></tr>
<tr class="separator:a93527a7ba63157131e11b2247d421ac1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf32c3a1e11ac9829990d0374c437948"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1io_1_1_l_z_f_image_reader.html#aaf32c3a1e11ac9829990d0374c437948">~LZFImageReader</a> ()</td></tr>
<tr class="separator:aaf32c3a1e11ac9829990d0374c437948"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ba0cdb33d9d11c15113e0c168411367"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1io_1_1_l_z_f_image_reader.html#a4ba0cdb33d9d11c15113e0c168411367">readParameters</a> (const std::string &amp;filename)</td></tr>
<tr class="memdesc:a4ba0cdb33d9d11c15113e0c168411367"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read camera parameters from a given file and store them internally.  <a href="classpcl_1_1io_1_1_l_z_f_image_reader.html#a4ba0cdb33d9d11c15113e0c168411367">更多...</a><br /></td></tr>
<tr class="separator:a4ba0cdb33d9d11c15113e0c168411367"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3227ab82a63e2d7ccb404fa3aeda9f3c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1io_1_1_l_z_f_image_reader.html#a3227ab82a63e2d7ccb404fa3aeda9f3c">setParameters</a> (const <a class="el" href="structpcl_1_1io_1_1_camera_parameters.html">CameraParameters</a> &amp;parameters)</td></tr>
<tr class="memdesc:a3227ab82a63e2d7ccb404fa3aeda9f3c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read the parameters from a struct instead  <a href="classpcl_1_1io_1_1_l_z_f_image_reader.html#a3227ab82a63e2d7ccb404fa3aeda9f3c">更多...</a><br /></td></tr>
<tr class="separator:a3227ab82a63e2d7ccb404fa3aeda9f3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abeb856e9a557e7f31c7da1139986c15f"><td class="memItemLeft" align="right" valign="top"><a id="abeb856e9a557e7f31c7da1139986c15f"></a>
<a class="el" href="structpcl_1_1io_1_1_camera_parameters.html">CameraParameters</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1io_1_1_l_z_f_image_reader.html#abeb856e9a557e7f31c7da1139986c15f">getParameters</a> () const</td></tr>
<tr class="memdesc:abeb856e9a557e7f31c7da1139986c15f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the camera parameters currently being used returns a <a class="el" href="structpcl_1_1io_1_1_camera_parameters.html" title="Basic camera parameters placeholder.">CameraParameters</a> struct <br /></td></tr>
<tr class="separator:abeb856e9a557e7f31c7da1139986c15f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d82b0b1ed44f9bf0cfb6096f3a53cc1"><td class="memItemLeft" align="right" valign="top"><a id="a5d82b0b1ed44f9bf0cfb6096f3a53cc1"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1io_1_1_l_z_f_image_reader.html#a5d82b0b1ed44f9bf0cfb6096f3a53cc1">getWidth</a> () const</td></tr>
<tr class="memdesc:a5d82b0b1ed44f9bf0cfb6096f3a53cc1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the image width as read from disk. <br /></td></tr>
<tr class="separator:a5d82b0b1ed44f9bf0cfb6096f3a53cc1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c0f4da5461f686726dbe3b5b8698017"><td class="memItemLeft" align="right" valign="top"><a id="a6c0f4da5461f686726dbe3b5b8698017"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1io_1_1_l_z_f_image_reader.html#a6c0f4da5461f686726dbe3b5b8698017">getHeight</a> () const</td></tr>
<tr class="memdesc:a6c0f4da5461f686726dbe3b5b8698017"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the image height as read from disk. <br /></td></tr>
<tr class="separator:a6c0f4da5461f686726dbe3b5b8698017"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae380cfe42ff466bad51e8a2d7b6fd707"><td class="memItemLeft" align="right" valign="top"><a id="ae380cfe42ff466bad51e8a2d7b6fd707"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1io_1_1_l_z_f_image_reader.html#ae380cfe42ff466bad51e8a2d7b6fd707">getImageType</a> () const</td></tr>
<tr class="memdesc:ae380cfe42ff466bad51e8a2d7b6fd707"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the type of the image read from disk. <br /></td></tr>
<tr class="separator:ae380cfe42ff466bad51e8a2d7b6fd707"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:a4f0ab102d0eafdab81f2029e207c8980"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1io_1_1_l_z_f_image_reader.html#a4f0ab102d0eafdab81f2029e207c8980">readParameters</a> (std::istream &amp;)</td></tr>
<tr class="memdesc:a4f0ab102d0eafdab81f2029e207c8980"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read camera parameters from a given stream and store them internally.  <a href="classpcl_1_1io_1_1_l_z_f_image_reader.html#a4f0ab102d0eafdab81f2029e207c8980">更多...</a><br /></td></tr>
<tr class="separator:a4f0ab102d0eafdab81f2029e207c8980"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9431f9c74fd56f8108a19af4d24fdac"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1io_1_1_l_z_f_image_reader.html#ac9431f9c74fd56f8108a19af4d24fdac">loadImageBlob</a> (const std::string &amp;filename, std::vector&lt; char &gt; &amp;data, uint32_t &amp;uncompressed_size)</td></tr>
<tr class="memdesc:ac9431f9c74fd56f8108a19af4d24fdac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Load a compressed image array from disk  <a href="classpcl_1_1io_1_1_l_z_f_image_reader.html#ac9431f9c74fd56f8108a19af4d24fdac">更多...</a><br /></td></tr>
<tr class="separator:ac9431f9c74fd56f8108a19af4d24fdac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f50561119e7c71204e6fbacdba863f0"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1io_1_1_l_z_f_image_reader.html#a7f50561119e7c71204e6fbacdba863f0">decompress</a> (const std::vector&lt; char &gt; &amp;input, std::vector&lt; char &gt; &amp;output)</td></tr>
<tr class="memdesc:a7f50561119e7c71204e6fbacdba863f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Realtime LZF decompression.  <a href="classpcl_1_1io_1_1_l_z_f_image_reader.html#a7f50561119e7c71204e6fbacdba863f0">更多...</a><br /></td></tr>
<tr class="separator:a7f50561119e7c71204e6fbacdba863f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected 属性</h2></td></tr>
<tr class="memitem:aa80c1010e065458944af9ca5ead3b454"><td class="memItemLeft" align="right" valign="top"><a id="aa80c1010e065458944af9ca5ead3b454"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1io_1_1_l_z_f_image_reader.html#aa80c1010e065458944af9ca5ead3b454">width_</a></td></tr>
<tr class="memdesc:aa80c1010e065458944af9ca5ead3b454"><td class="mdescLeft">&#160;</td><td class="mdescRight">The image width, as read from the file. <br /></td></tr>
<tr class="separator:aa80c1010e065458944af9ca5ead3b454"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb1cceb25b4712488861753121de8ce3"><td class="memItemLeft" align="right" valign="top"><a id="adb1cceb25b4712488861753121de8ce3"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1io_1_1_l_z_f_image_reader.html#adb1cceb25b4712488861753121de8ce3">height_</a></td></tr>
<tr class="memdesc:adb1cceb25b4712488861753121de8ce3"><td class="mdescLeft">&#160;</td><td class="mdescRight">The image height, as read from the file. <br /></td></tr>
<tr class="separator:adb1cceb25b4712488861753121de8ce3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28bc8e341b09cbf4ef39b89521900f0c"><td class="memItemLeft" align="right" valign="top"><a id="a28bc8e341b09cbf4ef39b89521900f0c"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1io_1_1_l_z_f_image_reader.html#a28bc8e341b09cbf4ef39b89521900f0c">image_type_identifier_</a></td></tr>
<tr class="memdesc:a28bc8e341b09cbf4ef39b89521900f0c"><td class="mdescLeft">&#160;</td><td class="mdescRight">The image type string, as read from the file. <br /></td></tr>
<tr class="separator:a28bc8e341b09cbf4ef39b89521900f0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeaccfe5ec36e1a136234fa07bfc23d0d"><td class="memItemLeft" align="right" valign="top"><a id="aeaccfe5ec36e1a136234fa07bfc23d0d"></a>
<a class="el" href="structpcl_1_1io_1_1_camera_parameters.html">CameraParameters</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1io_1_1_l_z_f_image_reader.html#aeaccfe5ec36e1a136234fa07bfc23d0d">parameters_</a></td></tr>
<tr class="memdesc:aeaccfe5ec36e1a136234fa07bfc23d0d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Internal set of camera parameters. <br /></td></tr>
<tr class="separator:aeaccfe5ec36e1a136234fa07bfc23d0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>PCL-LZF image format reader. The PCL-LZF image format is nothing else but a LZF-modified compression over an existing file type (e.g., PNG). However, in certain situations, like <a class="el" href="structpcl_1_1_r_g_b.html" title="A structure representing RGB color information.">RGB</a> data for example, an [RGBRGB...<a class="el" href="structpcl_1_1_r_g_b.html" title="A structure representing RGB color information.">RGB</a>] array will be first reordered into [RR...RGG...GBB...B] in order to ensure better compression. </p>
<p>The current list of compressors/decompressors include:</p><ul>
<li>LZF compressed 24-bit [RR...RGG...GBB...B] data</li>
<li>LZF compressed 8-bit Bayer data</li>
<li>LZF compressed 16-bit YUV422 data</li>
<li>LZF compressed 16-bit depth data</li>
</ul>
<p>Please note that files found using the above mentioned extensions will be treated as such. Inherit from this class and overwrite the I/O methods if you plan to change this behavior.</p>
<p>The main advantage of using the PCL-LZF image I/O routines is a very good file size versus I/O speed ratio. Tests performed using LZF, Snappy, ZIP, GZ2, BZIP2, as well as PNG, JPEG, and TIFF compression have shown that the internal PCL LZF methods provide the best score for the types of applications PCL is suited for.</p>
<dl class="section author"><dt>作者</dt><dd>Radu B. Rusu </dd></dl>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a93527a7ba63157131e11b2247d421ac1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a93527a7ba63157131e11b2247d421ac1">&#9670;&nbsp;</a></span>LZFImageReader()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">pcl::io::LZFImageReader::LZFImageReader </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Empty constructor </p>

</div>
</div>
<a id="aaf32c3a1e11ac9829990d0374c437948"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf32c3a1e11ac9829990d0374c437948">&#9670;&nbsp;</a></span>~LZFImageReader()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual pcl::io::LZFImageReader::~LZFImageReader </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Empty destructor </p>
<div class="fragment"><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;{}</div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a7f50561119e7c71204e6fbacdba863f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7f50561119e7c71204e6fbacdba863f0">&#9670;&nbsp;</a></span>decompress()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool pcl::io::LZFImageReader::decompress </td>
          <td>(</td>
          <td class="paramtype">const std::vector&lt; char &gt; &amp;&#160;</td>
          <td class="paramname"><em>input</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; char &gt; &amp;&#160;</td>
          <td class="paramname"><em>output</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Realtime LZF decompression. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">input</td><td>the array to decompress </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">output</td><td>the decompressed array </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>true if operation successful, false otherwise </dd></dl>

</div>
</div>
<a id="ac9431f9c74fd56f8108a19af4d24fdac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac9431f9c74fd56f8108a19af4d24fdac">&#9670;&nbsp;</a></span>loadImageBlob()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool pcl::io::LZFImageReader::loadImageBlob </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; char &gt; &amp;&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t &amp;&#160;</td>
          <td class="paramname"><em>uncompressed_size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Load a compressed image array from disk </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">filename</td><td>the file name to load the data from </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">data</td><td>the size of the data </td></tr>
    <tr><td class="paramdir"></td><td class="paramname">uncompressed_size</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>an array filled with the data loaded from disk, NULL if error </dd></dl>

</div>
</div>
<a id="a4ba0cdb33d9d11c15113e0c168411367"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4ba0cdb33d9d11c15113e0c168411367">&#9670;&nbsp;</a></span>readParameters() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool pcl::io::LZFImageReader::readParameters </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Read camera parameters from a given file and store them internally. </p>
<dl class="section return"><dt>返回</dt><dd>true if operation successful, false otherwise </dd></dl>

</div>
</div>
<a id="a4f0ab102d0eafdab81f2029e207c8980"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f0ab102d0eafdab81f2029e207c8980">&#9670;&nbsp;</a></span>readParameters() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool pcl::io::LZFImageReader::readParameters </td>
          <td>(</td>
          <td class="paramtype">std::istream &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Read camera parameters from a given stream and store them internally. </p>
<dl class="section return"><dt>返回</dt><dd>true if operation successful, false otherwise </dd></dl>

<p>被 <a class="el" href="classpcl_1_1io_1_1_l_z_f_r_g_b24_image_reader.html#a1ea035c2055b2a2616fd7cc92d64cb7a">pcl::io::LZFRGB24ImageReader</a> , 以及 <a class="el" href="classpcl_1_1io_1_1_l_z_f_depth16_image_reader.html#a3833c66fd0788d5d7d2d10f6ee293784">pcl::io::LZFDepth16ImageReader</a> 重载.</p>
<div class="fragment"><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;{ <span class="keywordflow">return</span> (<span class="keyword">false</span>); }</div>
</div><!-- fragment -->
</div>
</div>
<a id="a3227ab82a63e2d7ccb404fa3aeda9f3c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3227ab82a63e2d7ccb404fa3aeda9f3c">&#9670;&nbsp;</a></span>setParameters()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::io::LZFImageReader::setParameters </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structpcl_1_1io_1_1_camera_parameters.html">CameraParameters</a> &amp;&#160;</td>
          <td class="paramname"><em>parameters</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Read the parameters from a struct instead </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">parameters</td><td><a class="el" href="class_camera.html">Camera</a> parameters to use </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;        {</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;          <a class="code" href="classpcl_1_1io_1_1_l_z_f_image_reader.html#aeaccfe5ec36e1a136234fa07bfc23d0d">parameters_</a> = parameters;</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;        }</div>
<div class="ttc" id="aclasspcl_1_1io_1_1_l_z_f_image_reader_html_aeaccfe5ec36e1a136234fa07bfc23d0d"><div class="ttname"><a href="classpcl_1_1io_1_1_l_z_f_image_reader.html#aeaccfe5ec36e1a136234fa07bfc23d0d">pcl::io::LZFImageReader::parameters_</a></div><div class="ttdeci">CameraParameters parameters_</div><div class="ttdoc">Internal set of camera parameters.</div><div class="ttdef"><b>Definition:</b> lzf_image_io.h:174</div></div>
</div><!-- fragment -->
</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>io/include/pcl/io/<a class="el" href="lzf__image__io_8h_source.html">lzf_image_io.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>pcl</b></li><li class="navelem"><b>io</b></li><li class="navelem"><a class="el" href="classpcl_1_1io_1_1_l_z_f_image_reader.html">LZFImageReader</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
